package pers.billy.strive.web.test;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 入门测试
 *
 * @author billymac
 * @version 1.0
 * @date 17/5/23  下午9:12
 * @since JDK1.8
 */
@RestController
@RequestMapping("/v1")
public class HelloWorld {

    @RequestMapping("/hello")
    public String helloWorld() {
        return "hello world!";
    }
}
